<?php
/**
 * Created by PhpStorm.
 * User: mofeng
 * Date: 16/9/5
 * Time: 下午4:00
 */
namespace App\Api\Account\Requests;

use App\Http\Requests\Request;

class AccountRechargeRequest extends Request
{
    public function rules()
    {
        return [
            'user_id' => 'required|integer',
            'amount' => 'required|numeric',
            'source_from' => 'required',
            'source_id' => 'required|integer',
        ];
    }
}